package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Role;
import cn.wolfcode.crm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRoleService {
    void saveOrUpdate(Role role, Long[] permissionIds);
    void delete(Long id);
    Role getRoleById(Long id);
    List<Role> getAll();


    PageInfo<Role> selectByQuery(QueryObject queryObject);

    List<String> getExpressionsByEmployeeId(Long employeeId);
}
